﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Estimate
{
    public partial class formManualRate : FormMDIChildTemplate 
    {
        public formManualRate()
        {
            InitializeComponent();
        }

        private void formManualRate_Load(object sender, EventArgs e)
        { FillRate(); root.TranslateGrid(gridRate); }

        private void FillRate()
        { rateBindingSource.DataSource = context.Rates; }

        private void saveToolStripButton_Click(object sender, EventArgs e)
        { root.Submit(); FillRate(); }
    }
}
